module.exports = {
    devServer: {
        overlay: {
            warnings: false,
            errors: false
        },

        proxy: {
            '/api': {
              //本地服务接口地址
              target: 'http://apis.imooc.com/api',     // 慕课网
              ws: true,
              pathRewrite: {
                '^/api': '/'
              }
            }
          }
      
    },
    lintOnSave: false
}